#ifndef IPOPT_HPP_
#define IPOPT_HPP_

#define IPOPT8

#ifdef IPOPT8

#include <coin/IpTNLP.hpp>
#include <coin/IpIpoptApplication.hpp>
#define IPOPT8_FINARGS , const IpoptData* ip_data, IpoptCalculatedQuantities* ip_cq

#else

#include <ipopt/IpTNLP.hpp>
#include <ipopt/IpIpoptApplication.hpp>
#define IPOPT8_FINARGS

#endif

#endif /* IPOPT_HPP_ */
